package com.job.common.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 菜单表(Menu)表实体类
 *
 * @author makejava
 * @since 2024-10-10 16:20:52
 */
@TableName(value = "menu")
@Data
@Schema(description = "菜单表")
public class Menu extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "菜单标题")
    @TableField("title")
    private String title;

    @Schema(description = "菜单路径")
    @TableField("path")
    private String path;


    @Schema(description = "父菜单ID")
    @TableField("parent_id")
    private Integer parentId;


}

